package com.qg.service.iml;

import com.qg.pojo.QgUser;

import java.util.List;
import java.util.Map;

/**
* Created by shang-pc on 2015/11/7.
*/
public interface QgUserService {

    public QgUser getQgUserById(@Param(value = "id") String id)throws Exception;

    public List<QgUser>	getQgUserListByMap(Map<String,Object> param)throws Exception;

    public Integer getQgUserCountByMap(Map<String,Object> param)throws Exception;

    public Integer insertQgUser(QgUser qgUser)throws Exception;

    public Integer updateQgUser(QgUser qgUser)throws Exception;

    public Integer deleteQgUserById(@Param(value = "id") String id)throws Exception;

    public Integer batchDeleteQgUser(Map<String,List<String>> params);

    public  QgUser queryQgUserByPhoneAndPwd(String phone,String password)throws Exception;
}
